grades = [
    ('202001', 85, 92, 73),
    ('202002', 68, 70, 53),
    ('202003', 72, 58, 77),
    ('202004', 95, 89, 91),
    ('202005', 65, 72, 89)
]

chengjidan = sorted(grades, key=lambda x: sum(x[1:]), reverse=True)
for item in chengjidan:
    zongchengji = sum(item[1:])  
    print(item[0], item[1], item[2], item[3], zongchengji)